Optimal. Leaf size=117 \[ \frac {\sqrt {\frac {\pi }{2}} \cos (a) \csc \left (a+b x^2\right ) S\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{\sqrt {b}}+\frac {\sqrt {\frac {\pi }{2}} \csc \left (a+b x^2\right ) C\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right ) \sin (a) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{\sqrt {b}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 117, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {6852, 3434,
3433, 3432} \begin {gather*} \frac {\sqrt {\frac {\pi }{2}} \sin (a) \text {FresnelC}\left (\sqrt {\frac {2}{\pi }} \sqrt {b} x\right ) \csc \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{\sqrt {b}}+\frac {\sqrt {\frac {\pi }{2}} \cos (a) S\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right ) \csc \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{\sqrt {b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3432
Rule 3433
Rule 3434
Rule 6852
Rubi steps
\begin {align*} \int \sqrt [3]{c \sin ^3\left (a+b x^2\right )} \, dx &=\left (\csc \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}\right ) \int \sin \left (a+b x^2\right ) \, dx\\ &=\left (\cos (a) \csc \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}\right ) \int \sin \left (b x^2\right ) \, dx+\left (\csc \left (a+b x^2\right ) \sin (a) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}\right ) \int \cos \left (b x^2\right ) \, dx\\ &=\frac {\sqrt {\frac {\pi }{2}} \cos (a) \csc \left (a+b x^2\right ) S\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{\sqrt {b}}+\frac {\sqrt {\frac {\pi }{2}} \csc \left (a+b x^2\right ) C\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right ) \sin (a) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{\sqrt {b}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 80, normalized size = 0.68 \begin {gather*} \frac {\sqrt {\frac {\pi }{2}} \csc \left (a+b x^2\right ) \left (\cos (a) S\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right )+C\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right ) \sin (a)\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{\sqrt {b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.17, size = 157, normalized size = 1.34
method | result | size |
risch | \(\frac {\erf \left (\sqrt {-i b}\, x \right ) \sqrt {\pi }\, \left (i c \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b \,x^{2}+a \right )}\right )^{\frac {1}{3}} {\mathrm e}^{i \left (b \,x^{2}+2 a \right )}}{4 \sqrt {-i b}\, \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )}-\frac {\left (i c \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b \,x^{2}+a \right )}\right )^{\frac {1}{3}} {\mathrm e}^{i x^{2} b} \sqrt {\pi }\, \erf \left (\sqrt {i b}\, x \right )}{4 \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right ) \sqrt {i b}}\) | \(157\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] Result contains complex when optimal does not.
time = 0.55, size = 51, normalized size = 0.44 \begin {gather*} \frac {\sqrt {2} \sqrt {\pi } {\left ({\left (-\left (i + 1\right ) \, \cos \left (a\right ) + \left (i - 1\right ) \, \sin \left (a\right )\right )} \operatorname {erf}\left (\sqrt {i \, b} x\right ) + {\left (\left (i - 1\right ) \, \cos \left (a\right ) - \left (i + 1\right ) \, \sin \left (a\right )\right )} \operatorname {erf}\left (\sqrt {-i \, b} x\right )\right )} c^{\frac {1}{3}}}{16 \, \sqrt {b}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 128, normalized size = 1.09 \begin {gather*} -\frac {4^{\frac {1}{3}} {\left (4^{\frac {2}{3}} \sqrt {2} \pi \sqrt {\frac {b}{\pi }} \cos \left (a\right ) \operatorname {S}\left (\sqrt {2} x \sqrt {\frac {b}{\pi }}\right ) \sin \left (b x^{2} + a\right ) + 4^{\frac {2}{3}} \sqrt {2} \pi \sqrt {\frac {b}{\pi }} \operatorname {C}\left (\sqrt {2} x \sqrt {\frac {b}{\pi }}\right ) \sin \left (b x^{2} + a\right ) \sin \left (a\right )\right )} \left (-{\left (c \cos \left (b x^{2} + a\right )^{2} - c\right )} \sin \left (b x^{2} + a\right )\right )^{\frac {1}{3}}}{8 \, {\left (b \cos \left (b x^{2} + a\right )^{2} - b\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt [3]{c \sin ^{3}{\left (a + b x^{2} \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (c\,{\sin \left (b\,x^2+a\right )}^3\right )}^{1/3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________